Main Page | Class Hierarchy | Class List | Class Members

MPCharSelectCursor Class Reference

MP game character selection cursor message (Type: 102). More...

#include <BustaNetInternal.h>

Inheritance diagram for MPCharSelectCursor:

BustaNetInternalMsg List of all members.

Public Member Functions

 MPCharSelectCursor (int pID, int cursorX, int cursorY)
 CONSTRUCTOR.
 ~MPCharSelectCursor ()
 DESTRUCTOR.
int getPlayerID ()
 Returns the identification number of the player who has moved their cursor.
BustaModelPosition * getCursor ()
 Returns the position of a multiplayer player's cursor during character selection.

Detailed Description

MP game character selection cursor message (Type: 102).

This message is received by all players when another player in a multiplayer game moves their character selection cursor. Each player is able to see the character selection of another client during the character selection phase of a MP game. Having this message, the player can tell who's moving their cursor and that cursor's position.


Constructor & Destructor Documentation

MPCharSelectCursor::MPCharSelectCursor int  pID,
int  cursorX,
int  cursorY
 

CONSTRUCTOR.

An instance of the MPCharSelectCursor is created. Information to be contained in the message is necessarily supplied at creation time.

pID The identification number of the player whose cursor is being sent

Parameters:
cursorX The x-coordinate of the cursor
cursorY The y-coordinate of the cursor

MPCharSelectCursor::~MPCharSelectCursor  ) 
 

DESTRUCTOR.

Frees memory associated with the cursor location.


Member Function Documentation

BustaModelPosition * MPCharSelectCursor::getCursor  ) 
 

Returns the position of a multiplayer player's cursor during character selection.

Returns the position of a multiplayer player's cursor during character selection

Returns:
Returns the position of a multiplayer player's cursor during character selection

int MPCharSelectCursor::getPlayerID  ) 
 

Returns the identification number of the player who has moved their cursor.

An integer identification number of the player who has made a cursor movement is returned.

Returns:
The identification number of the player who has moved their cursor


Generated on Sun Aug 14 22:24:57 2005 for BustaSandwich Networking by  doxygen 1.4.2-20050421